<?php /* Smarty version 2.6.16, created on 2009-04-15 21:49:34
         compiled from MemberView.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'img', 'MemberView.html', 4, false),array('function', 'url', 'MemberView.html', 17, false),array('function', 'language', 'MemberView.html', 17, false),array('function', 'bookmarks', 'MemberView.html', 37, false),array('function', 'module', 'MemberView.html', 39, false),array('modifier', 'process_code', 'MemberView.html', 21, false),)), $this); ?>
<br /><br />
<div style="text-align:center;">
<?php if (! $this->_tpl_vars['bUseLightbox']):  echo smarty_function_img(array('max_width' => '600','src' => ($this->_tpl_vars['sActualImage']),'alt' => "",'src_def' => "design/pic/noimage_120.jpg"), $this);?>

<?php else:  if ($this->_tpl_vars['iWidth'] > 500 || $this->_tpl_vars['iHeight'] > 500):  echo smarty_function_img(array('rel' => 'lytebox','onclick' => "startLytebox('mainimage');",'max_width' => '600','src' => ($this->_tpl_vars['sActualImage']),'src_def' => "design/pic/noimage_120.jpg",'alt' => "",'id' => 'mainimage'), $this);?>

<?php else:  echo smarty_function_img(array('max_width' => '600','src' => ($this->_tpl_vars['sActualImage']),'src_def' => "design/pic/noimage_120.jpg",'alt' => ""), $this);?>

<?php endif;  endif; ?>
</div>
<br />
<div style="text-align:center;">
    <?php if (isStaff ( )): ?>
    	<div style="padding:5px;">
    		<a class="link_action" href="<?php echo smarty_function_url(array('link' => "public.user.gallery.name_".($this->_tpl_vars['sUser']),'delete' => $this->_tpl_vars['aItem']['id']), $this);?>
" onclick="sure('');">[ <?php echo smarty_function_language(array('text' => 'delete'), $this);?>
 ]</a>
    		<?php if ($this->_tpl_vars['aItem']['feature'] == 1): ?><a class="link_action" href="<?php echo smarty_function_url(array('link' => 'current','removefeature' => $this->_tpl_vars['aItem']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'unmake_featured'), $this);?>
 ]</a><?php else: ?><a class="link_action" href="<?php echo smarty_function_url(array('link' => 'current','makefeature' => $this->_tpl_vars['aItem']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'make_featured_763'), $this);?>
 ]</a><?php endif; ?>	    	
    	</div>
    <?php endif; ?>
	<?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['text'])) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)); ?>

</div>
<br /><br />
<div style="text-align:center;font-size:9pt;" class="color">
 	<?php if ($this->_tpl_vars['iPrevId']): ?><a href="<?php echo smarty_function_url(array('link' => 'public.user.gallery.view','name' => $this->_tpl_vars['aItem']['user'],'id' => $this->_tpl_vars['iPrevId']), $this);?>
">&lt;&lt; <?php echo smarty_function_language(array('text' => 'prev_pic'), $this);?>
</a> | <?php endif; ?>
 	<a href="<?php echo smarty_function_url(array('link' => 'public.user.gallery','name' => $this->_tpl_vars['aItem']['user']), $this);?>
"><?php echo smarty_function_language(array('text' => 'main_gallery'), $this);?>
</a>
 	<?php if ($this->_tpl_vars['iNextId']): ?>| <a href="<?php echo smarty_function_url(array('link' => 'public.user.gallery.view','name' => $this->_tpl_vars['aItem']['user'],'id' => $this->_tpl_vars['iNextId']), $this);?>
"><?php echo smarty_function_language(array('text' => 'next_pic'), $this);?>
 &gt;&gt;</a><?php endif; ?>
</div>
<br />
<br />


<table style="width:100%;" border="0" cellspacing="0" cellpadding="0">
<tr>
	<td style="width:10%;"></td>
    <td style="width:80%;font-size:8pt;vertical-align:middle;font-size:8pt;" class="color">
    <?php echo smarty_function_bookmarks(array(), $this);?>

    <br />
    <?php echo smarty_function_module(array('module' => 'Comments','component' => 'AddForm','type' => 'gallery','alert_id' => $this->_tpl_vars['aItem']['user_id']), $this);?>

    <br />
    <a name="comment"></a>
    <div id="new_comment" style="display:none;"></div>
    	<?php echo smarty_function_module(array('module' => 'Comments','component' => 'List','type' => 'gallery','totalCount' => $this->_tpl_vars['aItem']['comment']), $this);?>

	</td>
    <td style="width:10%;"></td>
</tr>
</table>